<include file="public:header" />
    <div class="toptit">修改分类</div>
    <form id="form1" name="form1" method="post" action="{:U('HelpCategory/edit')}">
      <table width="100%" border="0" cellpadding="3" cellspacing="5"  >
        <tr>
          <td width="120" align="right">所属分类：</td>
          <td>
              <select name="parentid" id="parentid"  style="width:108px; font-size:12px;">
                  <option value="0">顶级分类</option>
                  <volist name="help_category[0]" id="help_category">
                    <option value="{$key}" <if condition="$info['parentid'] eq $key">selected="selected"</if>>{$help_category.categoryname}</option>
                  </volist>
              </select>
          </td>
        </tr>
        <tr>
          <td align="right">名称：</td>
          <td><input name="categoryname" type="text" class="input_text_200"  value="{$info.categoryname}" maxlength=""/></td>
        </tr>
        <tr>
          <td align="right">排序：</td>
          <td><input name="category_order" type="text" style="width:30px; font-size:12px;"   value="{$info.category_order}" maxlength="3" class="input_text_200" /></td>
        </tr>
     </table>
    <table width="100%" border="0" cellpadding="3" cellspacing="5">
        <tr>
          <td width="120" align="right">&nbsp;</td>
          <td >
      <input name="id" type="hidden" value="{$info.id}" />
      <input type="submit" value="修改" class="admin_submit" />
      <input name="submit22" type="button" class="admin_submit"    value="返 回" onclick="window.location='{:U('HelpCategory/index')}'"/>
      </td>
        </tr>
      </table>
  </form>
</div>
<include file="public:footer" />
</body>
</html>